interface IModules {
  [key: string]: {
    type: string;
    name: string;
    description: string;
    properties?: {
      [key: string]: {
        type: string;
        name: string;
        description: string;
        properties?: any;
      };
    };
  };
}
class Register {
  // 组件列表
  modules: IModules[] = [];
  constructor(modules: IModules[]) {
    this.modules = modules;
    this.init();
  }
  init() {
    return this.modules;
  }
}

export default Register;
